package com.example.doctorserver.mapper;

import com.example.doctorserver.pojo.Setmealdetailed;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SetmealdetailedMapper {
    int deleteByPrimaryKey(Integer sdId);

    int insert(Setmealdetailed record);

    int insertSelective(Setmealdetailed record);

    Setmealdetailed selectByPrimaryKey(Integer sdId);

    int updateByPrimaryKeySelective(Setmealdetailed record);

    int updateByPrimaryKey(Setmealdetailed record);

    @Select("SELECT ciId FROM setmealdetailed WHERE smId = #{smId}")
    List<Integer> getciId(int getsmId);
}